object fmBaseAnalyse: TfmBaseAnalyse
  Left = 0
  Top = 0
  Caption = 'fmBaseAnalyse'
  ClientHeight = 441
  ClientWidth = 629
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object pnlTop: TPanel
    Left = 0
    Top = 0
    Width = 629
    Height = 73
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 0
    object RzLabel2: TRzLabel
      Left = 203
      Top = 52
      Width = 48
      Height = 13
      Caption = #32467#26463#26085#26399
    end
    object RzLabel1: TRzLabel
      Left = 12
      Top = 52
      Width = 48
      Height = 13
      Caption = #36215#22987#26085#26399
    end
    object btnExport: TRzButton
      Left = 478
      Top = 47
      FrameColor = 7617536
      Caption = #23548#20986
      Color = 15791348
      HotTrack = True
      TabOrder = 0
      OnClick = btnExportClick
    end
    object btnGo: TRzButton
      Left = 396
      Top = 47
      Default = True
      FrameColor = 7617536
      Caption = #26597#35810
      Color = 15791348
      HotTrack = True
      TabOrder = 1
      OnClick = btnGoClick
    end
    object edtEnd: TRzDateTimeEdit
      Left = 262
      Top = 49
      Width = 121
      Height = 21
      EditType = etDate
      TabOrder = 2
    end
    object edtStart: TRzDateTimeEdit
      Left = 70
      Top = 49
      Width = 121
      Height = 21
      EditType = etDate
      TabOrder = 3
    end
  end
  object grdBrowser: TcxGrid
    Left = 0
    Top = 73
    Width = 629
    Height = 368
    Align = alClient
    TabOrder = 1
    LookAndFeel.Kind = lfOffice11
    ExplicitLeft = 238
    ExplicitTop = 216
    ExplicitWidth = 250
    ExplicitHeight = 200
    object tvBrowser: TcxGridDBBandedTableView
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = dsAnalyse
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsView.Footer = True
      OptionsView.BandHeaders = False
      Bands = <
        item
        end>
    end
    object lvBrowser: TcxGridLevel
      GridView = tvBrowser
    end
  end
  object SaveDialog: TSaveDialog
    Filter = 'xls files (*.xls)|*.XLS'
    Left = 542
    Top = 126
  end
  object rdaAnalyse: TDARemoteDataAdapter
    GetSchemaCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.MethodName = 'SQLGetData'
    GetDataCall.Params = <
      item
        Name = 'Result'
        DataType = rtBinary
        Flag = fResult
        Value = Null
      end
      item
        Name = 'aSQLText'
        DataType = rtString
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aIncludeSchema'
        DataType = rtBoolean
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aMaxRecords'
        DataType = rtInteger
        Flag = fIn
        Value = Null
      end>
    GetDataCall.Default = False
    GetDataCall.OutgoingTableNamesParameter = 'aTableNameArray'
    GetDataCall.OutgoingTableRequestInfosParameter = 'aTableRequestInfoArray'
    GetDataCall.IncomingDataParameter = 'Result'
    GetDataCall.OutgoingIncludeSchemaParameter = 'aIncludeSchema'
    GetDataCall.OutgoingMaxRecordsParameter = 'aMaxRecords'
    UpdateDataCall.RemoteService = ClientDataModule.RemoteService
    GetScriptsCall.RemoteService = ClientDataModule.RemoteService
    RemoteService = ClientDataModule.RemoteService
    DataStreamer = ClientDataModule.DataStreamer
    Left = 410
    Top = 230
  end
  object dsAnalyse: TDADataSource
    DataSet = tblAnalyse.Dataset
    DataTable = tblAnalyse
    Left = 374
    Top = 230
  end
  object tblAnalyse: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'dp_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dp_no'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_date'
        DataType = datDateTime
      end
      item
        Name = 'dp_cpino'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_oid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dp_osimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_validate'
        DataType = datInteger
        DefaultValue = '30'
      end
      item
        Name = 'dp_cid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dp_cno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_csimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_ccontact'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_cfax'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_staffid'
        DataType = datGuid
      end
      item
        Name = 'dp_department'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_priceterm'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_termdes'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_paymentmode'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_shipfrom'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_shipto'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_country'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_shipway'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dp_rate'
        DataType = datFloat
      end
      item
        Name = 'dp_amt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_totalqty'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_totalgw'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_companydocno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_checkstate'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_state'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_shipdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_shipdatedec'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_remark'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dp_stockgen'
        DataType = datBoolean
        DefaultValue = '0'
      end
      item
        Name = 'dp_insurance'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_packing'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_checkman'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_checkdate'
        DataType = datDateTime
      end>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = rdaAnalyse
    ReadOnly = True
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_pi'
    IndexDefs = <>
    Left = 338
    Top = 232
  end
end
